<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			//APP运行了...
			//连接WebSocket服务器....
			this.ws.conn();
		},
		onShow: function() {
			console.log('App Show')
			//APP显示了...
		},
		onHide: function() {
			console.log('App Hide')
			//App隐藏了...
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	
	/*每个页面公共css */
	uni-page-body {
		height: 100%;
	}
	
	.btn_cls {
		width: 70%;
		background-color: #19b18b;
		color: white;
		margin-top: 40rpx;
		box-shadow: 10rpx 10rpx 10rpx gray;
	}
	
	button:active{
		position: relative;
		top: 5rpx;
		left: 5rpx;
		box-shadow: 5rpx 5rpx 10rpx gray;
	}
</style>
